package edu.rit.drh4818.fire.colormap;

import java.awt.Color;

import edu.rit.drh4818.volume.Colormap;


/**
 * @author Darren Headrick
 *
 */
public class SexyColormap extends Colormap
{
	public static String NAME = "Sexy";
	
	public SexyColormap()
	{
		for(int x = 1; x < 255; x++)
		{
			Color tmp = new Color( Color.HSBtoRGB( x/2030F, .98F, .8F ) );
			tmp = new Color( tmp.getRed(), tmp.getGreen(), tmp.getBlue(), 50 );
			colorMapping[255 - x] = tmp.getRGB();
		}
	}

	public String toString()
	{
		return NAME;
	}
}
